package org.jiajie.designpatterndemo.ocp;

/**
 * @author jay
 */
public class Triangle extends Shape {
    public Triangle() {
        super.m_type = 3;
    }

    @Override
    public void draw() {
        System.out.println("绘制三角形");
    }
}
